<template>
  <div class="app-container">
    <scheduling-course v-if="tableHeight" id="paiqiguanli" :banId="banId" :tableHeight="tableHeight"></scheduling-course>
  </div>
</template>

<script>
import schedulingCourse from "@/views/components/schedulingCourse";
export default {
  name: "paiqiguanli",
  components: {
    schedulingCourse,
  },
  data() {
    return {
      banId: null,
      tableHeight: null,
    };
  },
  created() {
  },
  mounted(){
    this.getTableHeight()
  },
  methods: {
    getTableHeight(){
      let height = document.body.clientHeight - 180
      this.tableHeight = height + 'px'
    }
  }
};
</script>
<style lang="scss">

</style>